#/bin/bash

clear

MODULE_NAME="mod_ex2"
KERNEL_CFLAGS="-DEX2 -DDEBUG"

make KERNEL_CFLAGS="${KERNEL_CFLAGS}"
insmod "${MODULE_NAME}.ko"
rmmod "${MODULE_NAME}"

dmesg | grep "EX2" | tail -n 3

# make clean
